# macroButton object example

The following example shows the macroButton object:

`<macroButton name="MacroButton1" height="53" width="100" left="152" top="104" visible="true" wallpaper="false" isReferenceObject="false" macro="macro 2" audio="true" backColor="olive" backStyle="solid" borderStyle="raisedInset" borderUsesBackColor="false" borderWidth="4" description="MACROII" highlightColor="lime" borderColor="yellow" patternColor="white" patternStyle="none" horizontalMargin="0" verticalMargin="0" shape="rectangle" touch="true" blink="false" keyAssignment="F1">`

`<caption fontFamily="Lucida Blackletter" fontSize="10" bold="false" italic="false" underline="false" strikethrough="false" caption="MACROBE" color="maroon" backColor="magenta" backStyle="solid" alignment="topCenter" wordWrap="true" blink="false" />`

`<imageSettings imageName="End" alignment="bottomCenter" backStyle="transparent" color="white" backColor="navy" scaled="false" blink="false" />`

`<animations>`

`<animateVisibility expression="TestTag4" expressionTrueState="visible" />`

`</animations>`

`</macroButton>`

## See also

Advanced objects: macroButton object

macroButton object attributes and elements